/**
 * A Phoneix figure. extends unit.
 * @authors Itay Sorani, Nadav Ziv, Yonathan Zarsky
 */
package com.example.models.Units;
import android.content.Context;

import com.example.models.Unit;

public class Phoneix extends Unit {

	private static final int PHONEIX_HIT_POINTS = 10;
	private static final float PHONEIX_VELOCITY = 5 ;
	private static final String PHONEIX_NAME = "Phoneix";
	private static final int PHONEIX_HEIGHT = 30;
	private static final int PHONEIX_WIDTH = 30;
	
	/**
     * Constructs a new Phoneix according to hit points, velocity, name, texture height and texture width.
     */
	public Phoneix(Context context) {
		super(context);
		setHitPoints(PHONEIX_HIT_POINTS);
		setInitialHitPoints(PHONEIX_HIT_POINTS);
		setVelocity(PHONEIX_VELOCITY / 40);
		setName(PHONEIX_NAME);
		setHeight(PHONEIX_HEIGHT);
		setWidth(PHONEIX_WIDTH);
	}

}
